package zhongbo.java.air.flightpath.service;

import com.baomidou.mybatisplus.extension.service.IService;
import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.common.vo.ResultVo;
import zhongbo.java.air.flightpath.model.FlightPath;

public interface FlightPathService extends IService<FlightPath> {
    /**
     * 分页查询
     * @param
     * @return
     */
    PageVo<FlightPath> pageQuery(Integer page, Integer pageSize
            , String icao, String startTime, String endTime
            , String keyword, String fields
            , String oderByField, Boolean orderByAsc);

    /**
     * 添加航迹信息
     * @param flightPath
     * @return
     */
    ResultVo saveAirCraft(FlightPath flightPath);

    /**
     * 修改航迹信息
     * @param flightPath
     * @return
     */
    ResultVo updateAirCraft(FlightPath flightPath);
}
